package com.baizhi.dao;

import com.baizhi.entity.Article;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleDao {
    List<Article> selectAll(@Param("offset") int offset, @Param("limit") int limit);
    int selectCount();

    //app
    List<Article> selectArticleByDate(Integer count);

}
